package com.mew.chess.core.game.lh.game.message;


import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.*;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LhPushDealCardMessage extends ZebraBaseMessage<LhPushDealCardMessage> {

    private int remainTime;
    private LhPushBetInfoMessage betInfoMessage;
    private LhDealCardMessage dealCardMessage;



    @Override
    public void write(ByteBuf b) {

        writeInt(b, remainTime);
        betInfoMessage.writeMsg(b);
        dealCardMessage.writeMsg(b);

    }

    @Override
    public LhPushDealCardMessage read(ByteBuf b) {
        return null;
    }
}
